﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LookupItem", "LookupItem", new string[] { "FIELDVALUE" })]
    [KnownType(typeof(LookupItem))]
    public class LookupItem: MB.Orm.Common.BaseModel
    {
        public LookupItem()
        {

        }

        private int _FIELDVALUE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FIELDVALUE", System.Data.DbType.Int32)]
        public int FIELDVALUE { get { return _FIELDVALUE; } set { _FIELDVALUE = value; } }
        private String _LOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOOKUP", System.Data.DbType.String)]
        public String LOOKUP { get { return _LOOKUP; } set { _LOOKUP = value; } }
        private String _LOOKUPID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOOKUPID", System.Data.DbType.String)]
        public String LOOKUPID { get { return _LOOKUPID; } set { _LOOKUPID = value; } }
        private String _NOTE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("NOTE", System.Data.DbType.String)]
        public String NOTE { get { return _NOTE; } set { _NOTE = value; } }
    }

    /// <summary> 
    /// 文件生成时间 2015-07-08 
    /// </summary> 
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LmSendPortArea", "lmsendportarea", new string[] { "AREAPORTID" })]
    [KnownType(typeof(LmSendPortArea))]
    public class LmSendPortArea : MB.Orm.Common.BaseModel
    {

        public LmSendPortArea()
        {

        }

        private int _AREAPORTID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("AREAPORTID", System.Data.DbType.Int32)]
        public int AREAPORTID
        {
            get { return _AREAPORTID; }
            set { _AREAPORTID = value; }
        }

        private int _AREAID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("AREAID", System.Data.DbType.Int32)]
        public int AREAID
        {
            get { return _AREAID; }
            set { _AREAID = value; }
        }

        private int _SENDPORTID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SENDPORTID", System.Data.DbType.Int32)]
        public int SENDPORTID
        {
            get { return _SENDPORTID; }
            set { _SENDPORTID = value; }
        }

        private string _CREATER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATER", System.Data.DbType.Int32)]
        public string CREATER
        {
            get { return _CREATER; }
            set { _CREATER = value; }
        }

        private DateTime _CREATETIME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATETIME", System.Data.DbType.Int32)]
        public DateTime CREATETIME
        {
            get { return _CREATETIME; }
            set { _CREATETIME = value; }
        }

        private string _MODITOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODITOR", System.Data.DbType.Int32)]
        public string MODITOR
        {
            get { return _MODITOR; }
            set { _MODITOR = value; }
        }

        private DateTime _MODITIME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("MODITIME", System.Data.DbType.Int32)]
        public DateTime MODITIME
        {
            get { return _MODITIME; }
            set { _MODITIME = value; }
        }

        private string _REMARK;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REMARK", System.Data.DbType.Int32)]
        public string REMARK
        {
            get { return _REMARK; }
            set { _REMARK = value; }
        }


    }
}
